
<%@ page import="com.memora.usuario.Telefone" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'telefone.label', default: 'Telefone')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>
				<g:message code="default.list.label" args="[entityName]" />
				<!--small>Control panel</small-->
				<small>Control Panel</small>
				
			</h1>
			<ol class="breadcrumb">
				<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
				<li class="active">Blank page</li>
			</ol>
		</section>

		<!-- Main content -->
		<section class="content">
			<g:if test="${flash.message}">
				<div class="message" role="status">${flash.message}</div>
			</g:if>
			<table>
			<thead>
					<tr>
					
						<th><g:message code="telefone.segUser.label" default="Seg User" /></th>
					
						<g:sortableColumn property="descricaoNumero" title="${message(code: 'telefone.descricaoNumero.label', default: 'Descricao Numero')}" />
					
						<g:sortableColumn property="numeroTelefone" title="${message(code: 'telefone.numeroTelefone.label', default: 'Numero Telefone')}" />
					
					</tr>
				</thead>
				<tbody>
				<g:each in="${telefoneInstanceList}" status="i" var="telefoneInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="show" id="${telefoneInstance.id}">${fieldValue(bean: telefoneInstance, field: "segUser")}</g:link></td>
					
						<td>${fieldValue(bean: telefoneInstance, field: "descricaoNumero")}</td>
					
						<td>${fieldValue(bean: telefoneInstance, field: "numeroTelefone")}</td>
					
					</tr>
				</g:each>
				</tbody>
			</table>
			<div class="pagination">
				<g:paginate total="${telefoneInstanceCount ?: 0}" />
			</div>
		</section>

	</body>
</html>
